#root {
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  width: 100vw;
  overflow-x: hidden;
}

/* 全局重置 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

.ant-layout {
  background: #f5f5f5;
}

.ant-layout-header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ant-layout-content {
  background: #f5f5f5;
}

.ant-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.ant-card-head-title {
  font-weight: 600;
}

.ant-progress-text {
  font-size: 12px;
}

.ant-timeline {
  padding-top: 8px;
}

.ant-timeline-item-content {
  font-size: 13px;
  line-height: 1.4;
}

.ant-upload-drag {
  border-radius: 8px;
}

.ant-btn {
  border-radius: 6px;
}

.ant-input {
  border-radius: 6px;
}

.ant-select-selector {
  border-radius: 6px !important;
}

.ant-card-small > .ant-card-head {
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
}

.ant-card-small > .ant-card-body {
  padding: 12px;
}

.ant-statistic-title {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

.ant-statistic-content {
  font-size: 18px;
  font-weight: 600;
}

/* 布局样式 */
.ant-layout-content {
  background: #f5f5f5 !important;
  width: 100vw !important;
  max-width: none !important;
  overflow-x: hidden;
  padding: 16px !important;
  margin: 0 !important;
}

/* 强制全屏宽度设置 */
.ant-layout {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
}

/* 强制覆盖所有可能的宽度限制 */
.ant-layout-content .ant-row,
.ant-layout-content > div,
.ant-layout-content .main-flex-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Flexbox 布局支持 */
.main-flex-container {
  display: flex !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: none !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.flex-card-container {
  flex: 1 !important;
  min-width: 400px !important;
  max-width: none !important;
  margin: 0 !important;
}


/* 响应式设计 */
@media (max-width: 992px) {
  .ant-layout-content {
    padding: 12px !important;
  }
  
  .ant-card-head-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .ant-layout-content {
    padding: 8px !important;
  }
  
  .ant-card {
    margin-bottom: 8px;
  }
}

/* 滚动条样式 */
.ant-timeline::-webkit-scrollbar {
  width: 6px;
}

.ant-timeline::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.ant-timeline::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.ant-timeline::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 代码块样式 */
pre {
  background-color: #f6f8fa;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid #e1e4e8;
}

/* 加载动画优化 */
.ant-spin-dot {
  font-size: 20px;
}

/* 进度条样式优化 */
.ant-progress-line {
  margin-bottom: 8px;
}

.ant-progress-text {
  width: auto !important;
  margin-left: 8px;
}

/* 全屏布局容器 */
.full-width-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 8px;
}

/* 卡片头部样式优化 */
.ant-card-head {
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
}

/* 按钮悬停效果 */
.ant-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  transition: all 0.3s ease;
}

/* 标签样式优化 */
.ant-tag {
  border-radius: 4px;
  font-size: 12px;
}

/* 输入框焦点效果 */
.ant-input:focus, .ant-input-focused {
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

